package com.sun.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sun.pojo.HeannScoreL;
import com.sun.pojo.OneByOneL;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface OneLMapper extends BaseMapper<OneByOneL> {


    List<OneByOneL> selectAllL();
    List<OneByOneL> selectByGrade(int grade);
    List<OneByOneL> selectByGradew(int grade);
    List<OneByOneL> selectByGradel19(int grade);
    List<OneByOneL> selectByGradel20(int grade);
    List<OneByOneL> selectByGradew19(int grade);
    List<OneByOneL> selectByGradew20(int grade);
    List<OneByOneL> selectData( int rank);
    List<OneByOneL> selectData1( int rank);
    List<OneByOneL> selectAllW();
    List<OneByOneL> selectAllW20();
    List<OneByOneL> selectAllL20();
    List<OneByOneL> selectAllW19();
    List<OneByOneL> selectAllL19();
//    List<HeannScoreL> select21();
//    List<HeannScoreL> select21();
//    List<HeannScoreL> select20();
//    List<HeannScoreL> select19();
//    List<HeannScoreL> selectDate(String name);
//    List<HeannScoreL> selectByName(String name);
//    List<HeannScoreL> selectByYear(Integer year);
}
